package cn.gcBlock.po.constant;


/**
 * Created by panyan on 2018/5/27.
 */
public enum NodeType {
    CREATION("CREATION", "创生"),
    COIN("COIN", "币值"),
    WALLET("WALLET", "钱包"),
    CONTRACT("CONTRACT", "合同"),
    NEWS("NEWS", "新闻"),
    CONFIG("CONFIG", "配置项"),
    VOTE("CONFIG", "投票"),
    LOCK("LOCK", "锁定区块"),
    INFO("INFO","公开咨询信息"),
    GUARANTEE("GUARANTEE", "担保人"),
    CONSIGNOR("CONSIGNOR", "委托人");
    String code;
    String msg;

    NodeType(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
